/**
 * 卡片配置
 * 系统配置 system-config
 */
const cardConfig = {
  'system-config': {
    cardType: 'TableCard',
    cardData: {},
    dataType: 'table',
    // hiddenSelect: true,
    moduleBtnList: [
      {
        label: '新增',
        icon: 'el-icon-plus',
        type: 'primary',
        id: 'system-config-add',
        authId: 'grass-core:config:add'
      },
      {
        label: '批量删除',
        type: 'danger',
        plain: true,
        icon: 'el-icon-delete',
        id: 'system-config-deleteBatch',
        authId: 'grass-core:config:batchDelete'
      },
      {
        label: '导入',
        type: 'primary',
        icon: 'el-icon-upload2',
        id: 'system-config-import',
        authId: 'grass-core:config:upload'
      },
      {
        label: '导出',
        icon: 'el-icon-download',
        id: 'system-config-download',
        authId: 'grass-core:config:export',
        downType: 'downloadFile',
        downPath: '/energy-carbon/grass-core/config/export'
      }
    ],
    mainClass: 'main-padding20',
    isMultiple: true,
    paginationParams: { page: 1, limit: 10 },
    path: 'systemConfig.queryList',
    id: 'system-config'
  }
}

export default {}
export { cardConfig }
